package com.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.pojo.Manager;

import java.util.List;

public interface ManagerService {
    public Manager findManagerName(String managername);

    public Manager findUserName(String username);

    public void add(Manager manager);

    public Page<Manager> pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public void deleteById(Integer id);

    public void edit(Manager manager);

    public Manager findById(Integer id);

    public List<Manager> findAll();

}
